Skip to content

Conversation

darunrs
Copy link
Contributor

@darunrs darunrs commented Aug 1, 2025

Summary

Changed Hermes to return Status Code 204 when request params lead to certain resources not being found, causing the request to fail.

Rationale

Hermes previously was returning 404, which can indicate the API itself does not exist, which is misleading.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Copy link

vercel bot commented Aug 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 5:53pm

@darunrs
Copy link
Contributor Author

darunrs commented Aug 1, 2025

Had an offline discussion about this. 204 is under the classification of successful response. It's more misleading than returning a 404 with a good response message.

@darunrs darunrs closed this Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant